<script setup lang="ts">
import {useRoute} from  'vue-router'


const route = useRoute()

console.log(route.query)


</script>

<template>
<h1>详情</h1>
<!-- <div>
  <img :src="route.query.imgUrl" alt="">
</div> -->
</template>

<style lang="scss" scoped>
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}
</style>